﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ds.DataBase.Model
{
    /// <summary>
    /// 目录树
    /// </summary>
    public class PowerTree
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ptid { set; get; }
        /// <summary>
        /// 名称
        /// </summary>
        public string mc { set; get; }
        /// <summary>
        /// 地址
        /// </summary>
        public string uri { set; get; }
        /// <summary>
        /// 路径
        /// </summary>
        public string ptpath { set; get; }
        public virtual  ICollection<ZhiWei> ZhiWeis { set; get; }
        public virtual  ICollection<PowerTree> SonPowerTrees { set; get; }
        public virtual  ICollection<KeShiZhiWu> KeshiZhiwu { set; get; }
    }
}
